/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

$usage-rights-alert-background: $ic-color-alert;
$usage-rights-alert-text: $ic-color-light;

.UsageRightsDialog__fileName {
  font-weight: bold;
}

.UsageRightsDialog__warning {
  color: $usage-rights-alert-text;
  margin-right: 10px;
}

.UsageRightsDialog__andMore {
  text-decoration: underline;
  cursor: pointer;
}

.UsageRightsDialog__paddingFix {
  padding: 10px;
}

.UsageRightsDialog__tooltip {
  text-align: left !important; /* Important so it overides the default stuff */
}

.UsageRightsDialog__folderBulletList {
  /* list-style-image: url(/images/mimeClassIcons/folder.svg)
      would be better than this stuff, but sizing is hard with it. */
  list-style: none;
  margin-left: 0;
  li:before {
    content:'';
    display:inline-block;
    height:1em;
    width:1em;
    background-image:url('/images/mimeClassIcons/folder.svg');
    background-size:contain;
    background-repeat:no-repeat;
  }
}

.UsageRightsDialog__differentRightsMessage {
  background-color: $usage-rights-alert-background;
  color: $usage-rights-alert-text;
}

.manage-access {
  @include fontSize($ic-font-size--small);
}
